import service from '../plugins/axios'

export function getSeller() {
  return service.request({
    method: 'get',
    url: '/seller',
  })
}
export function getMeneData() {
  return service.request({
    method: 'get',
    url: 'https://www.fastmock.site/mock/64f237e2c70ee37283fd8aebaf65d820/api/menu',
  })
}
export function login(data) {
  return service.request({
    method: 'post',
    data,
    url: 'http://rap2api.taobao.org/app/mock/288753/login',
  })
}